package async;


public class ThreadA extends Thread {

	@Override
	public void run() {
		Cache.request="hello threadb";
		while(true){
			System.out.println("a");
			try {
				sleep(100);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
			
			String response=Cache.response;
			if(response!=null){
				System.out.println("response:"+response);
				return;
			}
		}
	}
}
